<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>insert.jsp</title>
<style>
@import url(http://fonts.googleapis.com/earlyaccess/jejugothic.css); /* "Jeju Gothic" */

body{
	font-family:"Jeju Gothic";
	font-size: 18px;
}


#memo{border:2px solid #555555; width:600px; height:300px;background-color:#A9F5F2;}
#main_list{width:600px; height:100%;}
</style>


<script>
function getId(id){return document.getElementById(id);}
function init(){
	getId('btnList').onclick=function(){
		location.href='index2.jsp?inc_content=./guest/list.jsp';
	}	
}

</script>
	

</head>

<body>
<jsp:useBean id="vo" class="guest.GuestVo" />
<jsp:setProperty property="*" name="vo" />



<div id='main_list'>

<!-- Header -->
<h1>글작성</h1>
<hr/>
<!-- End header -->
<form action='index2.jsp?inc_content=./guest/insert_result.jsp' method='post'>
<!-- Contents -->
<label>작 성 자 : </label><input type='text' id="writer" name='mid'>
<label>Subject : </label><input style='width:280px;' type="text" id='subject' name='subject'>
</p>
<input type="text" id='memo' name='content'>
</p>
<!-- End Contents -->


<!-- 버튼(저장/목록) -->
<div align="right">
<input type="submit" id='btnOk' value="확인">
<input type="button" id='btnList' value="목록">
</div>

</form>
<!-- end 버튼 -->

</div>
<script>
init();
</script>
</body>
</html>